//
//  MVSJSONRPCServiceBase.h
//  MoltenCore
//
//  Created by Nicholas Bourey on 2/24/11.
//  Copyright 2011 Molten Visuals. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "MVSRPCServiceBase.h"
#import "MVSJSONRPCRequest.h"

@interface MVSJSONRPCServiceBase : MVSRPCServiceBase {
@private
    
}

- (MVSJSONRPCRequest *)requestForJSONRPCMethod:(NSString *)method paramDictionary:(NSDictionary *)dictionary methodID:(id)anID;
- (MVSJSONRPCRequest *)requestForJSONRPCMethod:(NSString *)method paramArray:(NSArray *)array methodID:(id)anID;
- (void)dispatchRequest:(MVSJSONRPCRequest *)rpcRequest callbackSelector:(SEL)serviceCallback delegate:(id<MVSWebserviceDelegate>)delegate clientCallbackSelector:(SEL)callback;
- (void)didReceiveRPCResponseData:(NSString *)data serviceCallback:(SEL)serviceCallback delegate:(id<MVSWebserviceDelegate>)delegate callback:(SEL)callback;

@end
